#ifndef __GAME_OBJECT__
#define __GAME_OBJECT__

#include "cocos2d.h"
USING_NS_CC;

class GameObject : public CCNode
{
public:

	bool isNeedDelete;

	virtual bool init();
	~GameObject();

	virtual CCArray* createSpriteArray();

	// getter & setter
	int getState();
	virtual void setState(int state);
	
protected:
	CCSprite* mainSprite;
	int state;
	void draw();
	
};
#endif // !__GAME_OBJECT__
